package com.sumainfor.pc.gmio.controller;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.pc.gmio.service.impl.WatGasEleExsServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

/**
 * @author Meng
 * @ClassName TuiZuRoomController
 * @date 2020/3/20 11:19
 * @description: TODO
 */

@Controller
@RequestMapping("/TuiZuRoom")
public class TuiZuRoomController {


    @Autowired
    WatGasEleExsServiceImpl watGasEleExsService;

    /**
     * 退房款项支出表
     */
    @ResponseBody
    @PostMapping("/HousKeepRoomList")
    public JsonResult HousKeepRoom (@RequestBody Map<String,Object> params, Pager pager){


        return watGasEleExsService.HousKeepRoomList(params,pager);
    }
}
